Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACKLOG-23452: Trim the date format when configured #1786

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

baptistegrimaud
Copy link
Contributor

https://jira.jahia.org/browse/BACKLOG-23452

JIRA

When a date format is configured in Content Editor (contentEditor.forceDateFormat property), trim its value to loose restrictions on this property (as the value must be 'MM/DD/YYYY' or 'DD/MM/YYYY').
Similar to Jahia/jcontent#1389 done for Jcontent.

Description

Tests

The following are included in this PR

  • Unit Tests (Most changes should have unit tests)

@baptistegrimaud baptistegrimaud requested a review from a team January 10, 2025 11:03
@baptistegrimaud baptistegrimaud merged commit 370ed67 into master Jan 10, 2025
10 checks passed
@baptistegrimaud baptistegrimaud deleted the BACKLOG-23452-trim-format branch January 10, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants